//引入数据库模块
const mysql = require('mysql');
//使用数据库模块
let pool = mysql.createPool({
    host:'127.0.0.1',
    user:'root',
    password:'',
    port:3306,
    database:'videoMall',
    connectionLimit:15
});
//导出数据库模块
module.exports = pool;